package com.lhb.boyixue.user.mapper;


import com.lhb.boyixue.user.model.PracticeExercisesModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PracticeExercisesMapper {

    @Select("select content, imgUrl, A, B, C, D, result, analysis from practice_exercises where category=#{category}")
    List<PracticeExercisesModel>getCategory(String category);


}
